An Open File dialog is opened, displaying only file types specified in TypeList, or all files if TypeList is empty. If the Open button is clicked, Name, WDirID, and FileType are the name, directory, and type of the selected file; otherwise they are NULL.